import behaviors from "../../../../../config/behaviors";
import UserModel from "../../../../../models/User";

const userModel = new UserModel()

Component({
  behaviors: [behaviors],
  properties: {
    product: Object
  },
  data: {},
  methods: {
    handleQrcode() {
      userModel.checkLogin().then(() => {
        this.triggerEvent('handleQrcode')
      })
    }
  }
});
